import request from "@/utils/request";
//收款计划管理列表
export function getReceivableSchedule(params) {
  return request({
    url: "/receivableSchedule",
    method: "get",
    params,
  });
}
//收款计划管理导入
export function importReceivableSchedule(data) {
  return request({
    url: `/receivableSchedule/batch/import`,
    method: "patch",
    data,
  });
}

//收款计划管理审核
export function auditReceivableSchedule(data) {
  return request({
    url: `/receivableSchedule/batch/review`,
    method: "patch",
    data,
  });
}

//收款计划管理概览
export function overviewReceivableSchedule(params) {
  return request({
    url: "/receivableSchedule/overview",
    method: "get",
    params,
  });
}

//收款计划管理删除
export function deleteReceivableSchedule(data) {
  return request({
    url: `/receivableSchedule/${data.id}`,
    method: "delete",
    data,
  });
}

